/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package seggio;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 *
 * @author ale
 */
public class RappresentanteSeggio {

    public RappresentanteSeggio() {
    }

    public static String richiediNome() throws IOException {
        InputStream i = System.in;
        InputStreamReader is = new InputStreamReader(i);
        BufferedReader br = new BufferedReader(is);

        System.out.println("inserire nome : ");
        String nome = br.readLine();
        return nome;
    }

    public static String richiediCognome() throws IOException {
        InputStream i = System.in;
        InputStreamReader is = new InputStreamReader(i);
        BufferedReader br = new BufferedReader(is);

        System.out.println("inserire cognome : ");
        String cognome = br.readLine();
        return cognome;
    }

    public static String richiediDataNascita() throws IOException {
        InputStream i = System.in;
        InputStreamReader is = new InputStreamReader(i);
        BufferedReader br = new BufferedReader(is);

        System.out.println("inserire data nascita AAAA/MM/GG : ");
        String dn = br.readLine();
        return dn;
    }

    public static String richiediCfiscale() throws IOException {
        InputStream i = System.in;
        InputStreamReader is = new InputStreamReader(i);
        BufferedReader br = new BufferedReader(is);

        System.out.println("inserire codice fiscale : ");
        String cf = br.readLine();
        return cf;
    }
}
